package top.infopub.mgr.flow.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.flow.dao.TemplateDao;
import top.infopub.mgr.flow.service.TemplateService;
import top.infopub.mgr.flow.vo.TemplateVo;
import top.infopub.model.flow.Template;

@Service
public class TemplateServiceImpl extends GenericServiceImpl<Template, String> implements
		TemplateService {

	@Autowired
	private TemplateDao templateDao;
	
	@Override
	public GenericDao<Template, String> getDao() {
		return templateDao;
	}
	
	@Override
    public TemplateVo selectById(String id) {
        return templateDao.selectById(id);
    }

}